<ion-view ng-controller="Category" title="NHÓM HÀNG HÓA">
    <ion-nav-buttons side="left">
        <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
    </ion-nav-buttons>

    <ion-content>
        <ion-list show-delete="data.showDelete" show-reorder="data.showReorder">
            <ion-item ng-repeat="item in items" item="item" href="#/item/{{item.id}}">
                {{ item.name_category }}
                <ion-delete-button class="ion-minus-circled" ng-click="onItemDelete(item)">
                </ion-delete-button>
            </ion-item>
        </ion-list>
    </ion-content>

    <ion-footer-bar align-title="left" class="bar-assertive">
        <div class="buttons col col-20 item-button-left" style="text-align: left">
            <button class="button button-icon icon ion-ios7-minus-outline button-positive"
                    ng-click="data.showDelete = !data.showDelete">
            </button>
        </div>
        <div class="buttons col col-20 item-button-right" style="text-align: right; margin-left: 60%">
            <button class="button button-icon icon ion-plus-round button-positive" ng-click="AddCategory()"></button>
        </div>
    </ion-footer-bar>
</ion-view>
